package UserGoods;

import java.util.Date;

public class Goods {
    private Long id;
    private Long cid;
    private String title;
    private Double price;
    private String image;
    private String comment;
    private Date createtime;
    private Date lastmodifiedtime;

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getCid() {
        return cid;
    }
    public void setCid(Long cid) {
        this.cid = cid;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public Double getPrice() {
        return price;
    }
    public void setPrice(Double price) {
        this.price = price;
    }
    public String getImage() {
        return image;
    }
    public void setImage(String image) {
        this.image = image;
    }
    public String getComment() {
        return comment;
    }
    public void setComment(String comment) {
        this.comment = comment;
    }
    public Date getCreatetime() {
        return createtime;
    }
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    public Date getLastmodifiedtime() {
        return lastmodifiedtime;
    }
    public void setLastmodifiedtime(Date lastmodifiedtime) {
        this.lastmodifiedtime = lastmodifiedtime;
    }
    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", cid=" + cid +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", image='" + image + '\'' +
                ", comment='" + comment + '\'' +
                ", createtime=" + createtime +
                ", lastmodifiedtime=" + lastmodifiedtime +
                '}';
    }
}